home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / math / kstat33.zip / KSHELP.330 < prev    next >
Text File  |  1994-07-01  |  14KB  |  366 lines

  1. KWIKSTAT Program Help Screens
  2. @1,How to Enter Data:Keyboard, or from dBASE III file
  3. @3,How to Use data from a dBASE III file
  4. @4,Setup of the default file path
  5. @5,Utilities Module, Reports, Import from 1-2-3
  6. @6,Descriptive Statistics
  7. @7,t-test and ANOVA, paired or independent groups
  8. @9,Non-Parametric Comparisons
  9. @10,Simple Linear Regression and Multiple Regression
  10. @11,Correlation
  11. @12,Using the Kwikstat Viewer
  12. @13,Using REPLACE & using functions in REPLACE and SUBSET
  13. ##1  ##DATA
  14.  
  15.                                     KWIKSTAT
  16.                                     --------
  17. HOW TO ENTER DATA
  18.  
  19. Data may be entered from the keyboard, or from an ASCII text file. Data
  20. already stored in a dBASE III or IV file may also be used.
  21.  
  22.                         ENTERING DATA FROM THE KEYBOARD
  23.  
  24. 1. CREATE THE STRUCTURE OF YOUR DATABASE by selecting the "CREATE"
  25. option in the DATA menu.
  26.  
  27. 2. ENTER DATA by choosing the Enter Data option on the DATA menu.
  28.  
  29. 3. EDIT DATA by choosing the EDIT option on the DATA menu.
  30.  
  31. 4. CREATE NEW VARIABLES by choosing the TRANSFORM option, or choose
  32. the FIELD (F9) option in entry mode.
  33. ##2
  34.                      ENTERING DATA FROM AN ASCII TEXT FILE
  35.  
  36. Create a database structure using CREATE. Structure should match the columns
  37. of data in the data file. For example, your data is in a file named
  38. "MYDATA.TXT". A database structure could be created using the following
  39. format:
  40.  
  41. Field Type  Width  Dec
  42.  
  43. NAME    C    10
  44. AGE     N     2     0
  45. BDATE   D     8
  46.  ^      ^     ^     ^
  47.  │      │     │     └─────────────Number of decimals in numeric data
  48.  │      │     └───────────────────Columns where data is found
  49.  │      └─────────────────────────Data type
  50.  └────────────────────────────────Variable (field) name
  51.  
  52. This means NAME is in columns 1-10, AGE in 11-12 and BDATE in 13-21.
  53. NOTICE:The format MUST be inclusive of all columns. DO NOT SKIP COLUMNS when
  54. specifying where data is located.
  55. ##3
  56.  
  57.                    ENTERING DATA FROM A DBASE III or VI FILE
  58.  
  59. KWIKSTAT reads data directly from dBASE III and IV files. In each module, you
  60. may specify which dBASE file to use. The module will display all ".DBF" files
  61. in the default path by listing them in a pick box. To choose the database to
  62. use, press the up or down arrow keys to highlight the name of a database,
  63. then press Enter.
  64.  
  65. You may also call files from other directories by pressing the F2 key when
  66. the database list appears. Specify another path for the program to search,
  67. enter \DB3. A new pick list appears listing .DBF files in the specified path.
  68.  
  69. ##4   ##SETUP
  70.                      SET UP DEFAULT DISK PATH OR DISK DRIVE
  71.  
  72. In the Main KWIKSTAT module, select the CHANGE SETUP OPTIONS on the HELPS
  73. menu to set up the default disk drive or path, select monitor colors, printer
  74. and other criteria.
  75.  
  76. When asked to enter the default directory, just press Enter without entering
  77. any specification if the data is stored in the same drive as the program (the
  78. default directory). Otherwise, you can specify another subdirectory, such as
  79. "MYDIR". To do this, enter
  80.  
  81. \MYDIR\ or C:\MYDIR\
  82.  
  83. To use the B: drive as the default directory, enter the specification
  84.  
  85. B:\       (A MUST FOR 2-DISK SYSTEM USE!)
  86.  
  87. ##5 ##UTIL
  88.                           KWIKSTAT UTILITY MODULE
  89.  
  90. KWIKSTAT allows you to input and output data in the UTILITY Module.
  91.  
  92. o  Output a listing of the data in the dataset (or a selected subset of the
  93. database). Allows you to view the report before printing it.
  94.  
  95. o Output the data into a standard ASCII TEXT (SDF) file. Useful for 
  96. transferring the data to other programs. 
  97.  
  98. o Import data from 1-2-3 WKS, WK1 files. For WK* import, you need to know the 
  99. range in the spreadsheet, such as A1..D15. 
  100.  
  101. o Import from comma delimited files, where data is in the form:
  102.  
  103. 23,34,"label",11
  104.  
  105. NOTE: Once you have imported, you can change field name, width, etc by using 
  106. the Modify option on the DATA menu. 
  107. ##6 ##STAT                                 
  108.                              DESCRIPTIVE STATISTICS
  109.  
  110. In the STATISTICS module, examine summary statistics.
  111.  
  112. DETAILED STATISTICS - gives mean, standard deviation, etc, plus percentiles, 
  113. confidence interval and a box plot on one variable at a time.
  114.  
  115. SUMMARY STATISTICS - gives mean, st. dev. etc. on several variables at a       
  116. time, and allows listing of statistics by a grouping factor.
  117.  
  118. P-VALUE - calculates p-value for Z, t, Chi-Square and F statistics
  119.  
  120. HISTOGRAM - examine the distribution of a continuous variable
  121.  
  122. SCATTERPLOT - examine the relationship between two variables
  123.  
  124. TIME-SERIES - examine pattern of a single variable across time -- data 
  125. should be ordered
  126.  
  127. STEM and LEAF Display - summarizes data using a table/graph
  128. ##7 ##TTEST
  129.                               T-TESTS AND ANOVA'S
  130.  
  131. FOR INDEPENDENT GROUPS OR SINGLE GROUP
  132. --------------------------------------
  133. TWO GROUPS:Student's t-test, data expected to have a grouping variable, 
  134. also provides a test for the equality of variance, and two versions of the 
  135. t-test according to whether the variances can be considered equal.
  136.  
  137. 3 TO 10 GROUPS: One way ANOVA, Newman-Keuls multiple comparisons performed,
  138. data must have a grouping variable.  Comparative box plots displayed.
  139.  
  140. T-TEST AND ANOVA from summary data - no box plots.
  141.  
  142. Single sample t-test - you choose the hypothesized value to test.
  143.  
  144. ##8 ##REPEAT
  145.                               T-TESTS AND ANOVA'S
  146.                                                                    
  147. FOR PAIRED OR REPEATED MEASURES
  148. -------------------------------
  149.  
  150. TWO TIME PERIODS OR TWO PAIRED OBSERVATIONS:Students t-test for paired         
  151. observations. Data is expected to be paired within each record in the
  152. database. For example: two fields in the database could be:
  153.  
  154. Before After
  155. 200    175
  156. 130    123
  157. etc.
  158.  
  159. 3 TO 10 REPEATED MEASURES: An extension of the t-test, with 3 or more 
  160. repeated measures. Repeated Measures ANOVA performed, with Newman-Keuls 
  161. multiple comparisons. Comparative box plots displayed. 
  162. ##9     ##NPAR
  163.                           NON-PARAMETRIC COMPARISONS
  164.  
  165. Note:Use non-parametric procedures when the data cannot be assumed to be 
  166. normally distributed. 
  167.  
  168. FOR INDEPENDENT GROUPS OR SINGLE GROUP
  169. --------------------------------------
  170.  
  171. TWO GROUPS: Mann-Whitney U, comparison based on ranks of the data.
  172.  
  173. 3 TO 10 GROUPS: Kruskal-Wallis One-way ANOVA based on ranks, Newman-Keuls
  174. multiple comparisons performed at the 0.05 significance level. 
  175.  
  176. FOR PAIRED OR REPEATED MEASURES
  177. -------------------------------
  178. TWO TIME PERIODS OR TWO PAIRED OBSERVATIONS: Friedman's Test.
  179.  
  180. 3 TO 10 REPEATED MEASURES: Friedman's ANOVA with Newman-Keuls multiple 
  181. comparisons.
  182. ##10 ##REG
  183.  
  184.                                LINEAR REGRESSION
  185.  
  186. SIMPLE LINEAR REGRESSION - relating two variables. This procedure provides 
  187. an equation representing a straight line fitted through the data, and a test 
  188. of the significance of the linear relationship. You can also plot the data 
  189. to verify a linear trend and to examine residuals.
  190.  
  191. MULTIPLE REGRESSION - Allows you to relate up to 10 independent variables to 
  192. a dependent variable. The significance of each variable is determined, and 
  193. the coefficients to a prediction are calculated. You can use the 
  194. information on the significance of each variable to determine what variables 
  195. to leave in the equation and which to remove in order to find the best
  196. equation possible.
  197. ##11 ##REG
  198.  
  199.                             CORRELATION PROCEDURES
  200.  
  201.  
  202. CORRECTION calculates the Pearson and Spearman correlation coefficient for a 
  203. pair of variables. The significance of the coefficient is also given.
  204. Usually, Pearson's is calculated when the data are normal, and Spearman 
  205. (which is based on ranks) is used for non-normal data.
  206.  
  207. MATRIX OF CORRELATIONS - allows you to calculate combinations of correlations 
  208. (Pearson) on up to ten variables at a time.
  209.  
  210. DISPLAY A MATRIX OF SCATTERGRAMS - allows you to visually examine the 
  211. relationship on pairs of data for up to 10 combinations at a time.
  212. ##12 ##VIEW
  213.                          Using the Kwikstat Viewer
  214.  
  215. The Kwikstat viewer allows you to examine output from an analysis that
  216. could be too big to appear on one screen. When the viewer appears, you
  217. can move around the displayed results by pressing the arrow keys, PgUp,
  218. PgDn, Home and End. If you are using a mouse, you can use the scroll
  219. bars on the right side and bottom to position the output on the screen.
  220. The function key commands available in the viewer are described below. To
  221. activate one of these commands, press the function key or click the option
  222. on the button bar at the bottom of the screen:
  223.  
  224. F1 - Display this help screen.
  225. F3 - Send setup code to printer (for condensed print, etc.)
  226. F5 - Goto a line in the output (Press F5, then enter a line number.)
  227. F7 - Exit the viewer.
  228. F8 - Define size of margin for output.
  229. F9 - Define a title to be used on output.
  230. F10 - Output the contents of the viewed file to a printer or file. When you
  231.       choose this option, the default output is the port you specified
  232.       in the program setup (i.e., LPT1: meaning line printer port 1). You
  233.       can press Enter to accept this default, or type a file name to
  234.       save the contents to a file.
  235. ##13 ##REPLACE  ##SUBSET
  236.      Using Functions & Expressions in the REPLACE and SUBSET Options
  237.      ---------------------------------------------------------------
  238.  
  239. "REPLACE WITH" FIELD (in Replace option): Use either a math expression
  240. or a database expression.
  241.  
  242. CONDITION FIELD (in Replace and Subset) : Use only a database expression.
  243.  
  244. A database expression allows many mathematical and character expressions,
  245. as described below. The math expression is provided for performing
  246. calculations using scientific mathematical functions. In the REPLACE WITH
  247. field, the default expression type is the database type. In order for an
  248. expression to be evaluated as a strictly math expression, you must place
  249. an equal sign "=" at the beginning of the expression.
  250.  
  251. For example, if you want to perform the calculation WEIGHT/HEIGHT,
  252. you can enter the expression as-is in the REPLACE WITH field.
  253.  
  254. (continues...)
  255. ##14
  256. (REPLACE & SUBSET continued)
  257.  
  258. However, if you want to calculate the log of WEIGHT/HEIGHT, you
  259. must enter the expression as
  260.  
  261. =LOG(WEIGHT/HEIGHT)
  262.  
  263. since the LOG function is not supported as a database expression
  264. function. The equal sign signals to the program to use the math
  265. calculator. The information below outlines the capabilities of both
  266. expression types.
  267.  
  268. Mathematical operators:
  269. Add      +        Subtract    -
  270. Divide   /        Multiply    *
  271. Exponentiation ^ (Math calculator only)
  272.  
  273. For Character fields, the database calculator supports the
  274. operation: Add    + (appends one string to another)
  275.  
  276. (continues...)
  277. ##15
  278. (REPLACE & SUBSET continued)
  279.  
  280. Following are a few examples of correct expressions:
  281.  
  282. AGE/HEIGHT
  283. =SCORE^2 (= signals math calculator)
  284. LTRIM(FIRST)+' '+LAST
  285.  
  286. Note: Literal strings included in expressions must be surrounded by
  287. single quotes. For example, 'Hello' is a literal string. Character
  288. field names are used without quotes. For example, NAME is a field
  289. name. A correct string expression using these two strings would be:
  290.  
  291. 'Hello '+NAME
  292.  
  293. TIP:Only if you use a numeric operation or function not supported by
  294. the database calculator will you need to place an equal (=) sign at
  295. the first of the expression. For a list of the functions supported,
  296. refer to Chapter 2 in the manual.
  297.  
  298. (continues...)
  299. ##16
  300. (REPLACE & SUBSET continued)
  301.  
  302. Following are some example uses of functions in REPLACE or SUBSET:
  303.  
  304. ASC - Converts the first character of a string to its ASCII code.
  305. For example, the function ASC('A') would return the value 65, since
  306. 65 is the code for an uppercase A.
  307.  
  308. AT - Returns the starting position of one character string within
  309. another character string. For example, the expression AT('Bill',
  310. 'Wild Bill') = 5 since the string 'Bill' begins five characters
  311. deep in the string 'Wild Bill'.
  312.  
  313. CALENDAR and JULIAN - The JULIAN function converts a date into a
  314. number, where 1 is January 1, 1583. CALENDAR converts a julian
  315. number into a Date. You can convert dates into numbers, then find
  316. the number of days between dates by subtraction.
  317.  
  318. CAPS - Converts the first letter of each word into a capital. For
  319. example, CAPS('this is a test') would become 'This Is A Test'.
  320.  
  321. (continues...)
  322. ##17
  323. (REPLACE & SUBSET continued)
  324.  
  325. CHR - Converts a number into its ASCII value. For example, CHR(65)
  326. is equal to the character string 'A'.
  327.  
  328. DELETED - Returns a T if the current record is marked for delete,
  329. else it returns a F. Can be used to conditionally replace a value
  330. depending on if the record is deleted or not.
  331.  
  332. IIF - Selects between two expressions. The syntax is
  333. IIF(logicalexpression, expression1, expression2). The logical
  334. expression is either T or F. If the logical expression is T, then
  335. returned value of this function is expression1, else the returned
  336. value is expression2.
  337.  
  338. INT - Rounds down to nearest integer. INT(3.2) is equal to 3.
  339.  
  340. LEFT and RIGHT - Returns the left or right portion of a string. For
  341. example, LEFT('Wild Bill',3) would return the string 'Wil' and
  342. RIGHT('Wild Bill',3) would return the string 'ill'.
  343.  
  344. (continues...)
  345. ##18
  346. (REPLACE & SUBSET continued)
  347.  
  348. LOWER and UPPER - Returns lower or upper case string. For example,
  349. LOWER('Wild Bill') would return 'WILD BILL'.
  350.  
  351. LTRIM, RTRIM and TRIM - Trims blanks from right, left or both ends
  352. of a string. For example, LTRIM('Wild Bill    ') would return 'Wild
  353. Bill'. If the field FIRST contained the string 'Mark      ' (6 blanks on
  354. the end) and the field LAST contained 'Walker       ' (7 blanks on the end),
  355. the expression FIRST+LAST would be 'Mark      Walker       '. To obtain
  356. the string 'Mark Walker' you would use RTRIM(FIRST)+' '+RTRIM(LAST).
  357.  
  358. SUBSTR - Extracts a string from the middle of a string. For
  359. example, SUBSTR('Wild Bill',3,4) would be 'd Bi', which begins with
  360. the 3rd character in the initial string, and is 4 characters long.
  361. If the 4 were left off, the result would be 'd Bill' -- which is
  362. the remainder of the string starting with the 3rd character.
  363.  
  364. VAL - Returns the value of a string. For example VAL('24') is the
  365. number 24.
  366.